body{
	background-color: #BFCBC2;
}

.white{
	color: white; 
}

a {
	color:white;
}

.container {
    display: flex;
    align-items: center; /* Vertically center the items */
}

.text {
    color: 	#5F9EA0; /* Change text color */
    max-width: 900px; /* Optional: limit text width */
    padding-left: 15px; /* Indent left */
    padding-right: 5px; /* Indent right */
	 font-size: 32px; /* Increase font size */
    font-weight: bold; /* Make text bold */
}

.center {
	text-align: center;
}

.link-strip {
    display: flex;
    justify-content: space-around; /* Space links evenly */
    align-items: center; /* Center links vertically */
    background-color: #9ACD32; /* Strip background color */
    
}

a:link {
    color: white; /* Text color */
    text-decoration: none;
    padding: 20px 147px; /* Padding for links */
	font-size: 15px;
}

a:link:hover {
    background-color: #6B8E23; /* Hover background color */
}

/* Specific link formatting inside the table-container */
.table-container a.table-link:link {
    color: black; /* Text color inside the table */
    text-decoration: underline;
    padding: 0; /* Remove padding */
    background-color: transparent; /* Ensure no background */
}

.table-container a.table-link:hover {
    color: blue; /* Change the text color on hover */
    background-color: transparent; /* Ensure no background color on hover */
}

/* Specific link formatting inside the table-below */
.table-below a.table-link:link {
    color: black; /* Text color inside the table */
    text-decoration: underline;
    padding: 0; /* Remove padding */
    background-color: transparent; /* Ensure no background */
}

.table-below a.table-link:hover {
    color: blue; /* Change the text color on hover */
    background-color: transparent; /* Ensure no background color on hover */
}

/* Table-below formatting */
.table-below {
    width: 48%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    text-align: left;
    margin-top: 20px;
}

.table-below th, .table-below td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table-below th {
    background-color: #5F9EA0;
}
.table-link {
    color: black;
    text-decoration: underline;
    background-color: transparent; /* No background color */
}

/* Override hover effect to remove the green box */
.table-link:hover {
    color: blue !important;
    text-decoration: underline;
    background-color: transparent !important; /* Ensures no hover background */
}


.text-box {
    width: 50%; /* Half the width of the webpage */
    padding: 10px 15px; /* Add some padding for spacing */
    background-color: #5F9EA0; /* White background for the box */
    border: 2px solid #ccc; /* Add a border to the box */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Optional: slight shadow for effect */
    text-align: center; /* Optional: center-align the text */
    font-size: 1.25rem; /* Make the font a little bigger */
}


.text-box-container {
    display: flex; /* Flexbox for layout */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 10px 0; /* Optional: Add spacing around the box */
}

.flashcard-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards in the first row */
    gap: 20px; /* Space between cards */
    justify-content: center; /* Center the grid horizontally */
    padding: 20px; /* Add padding around the container */
}

.flashcard {
    perspective: 1000px; /* Enable 3D effect */
    width: 250px; /* Make cards wider */
    height: 150px; /* Make cards taller */
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 0.6s;
}

.flashcard:hover .flashcard-inner {
    transform: rotateY(180deg); /* Flip the card on hover */
}

.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back side when not visible */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc; /* Match textbox border */
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem; /* Slightly larger font size */
    font-weight: bold;
    text-align: center;
}

.flashcard-front {
    background-color: #5F9EA0; /* Match textbox background */
    color: white;
}

.flashcard-back {
    background-color: #9ACD32; /* Lime green color for the back */
    color: black; /* Adjust text color for readability */
    transform: rotateY(180deg); /* Position the back side */
	font-size: 0.8rem; /* Smaller font size for definitions */
}



.large-flashcard-container {
    display: flex;
    flex-direction: column; /* Stack flashcards vertically */
    gap: 20px; /* Space between rows */
    justify-content: center; /* Center the cards horizontally */
    align-items: center; /* Center the cards in the container */
    padding: 20px; /* Add padding around the container */
}

.large-flashcard {
    perspective: 1000px; /* Enable 3D effect */
    width: 80%; /* Take up 80% of the screen width */
    height: 25vh; /* Take up 25% of the viewport height */
}

.large-flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(0deg); /* Default position */
    transition: transform 0.6s;
    cursor: pointer; /* Show pointer cursor for clickable cards */
}

.large-flashcard-inner.clicked {
    transform: rotateX(180deg); /* Flip the card on click */
}

.large-flashcard-front, .large-flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back side when not visible */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ccc; /* Optional: border */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Optional: shadow */
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}

.large-flashcard-front {
    background-color: #9ACD32; /* Green color for the front */
    color: white;
}

.large-flashcard-back {
    background-color: #5F9EA0; /* Blue color for the back */
    color: black;
    transform: rotateX(180deg); /* Position the back side */
    font-size: 1rem; /* Adjust text size for story */
    line-height: 1.5; /* Improve readability of the story */
}





#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    display: none; /* Initially hidden */
    z-index: 1000;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#back-to-top.show {
    display: block;
}



/* General TOC container styles */
#table-of-contents {
    margin-bottom: 20px; /* Adds spacing below the TOC */
    text-align: left; /* Align content to the left */
    padding: 0; /* Remove container padding */
	font-size: 20px;
}

/* TOC header styles */
#table-of-contents h5 {
    margin: 0 0 10px 0; /* Add space below the header only */
    font-size: 24px; /* Adjust size of the header */
    font-weight: bold; /* Make the header bold */
    padding-left: 20px; /* Align the header with the links */
}

/* TOC list styles */
#table-of-contents ul {
    list-style-type: none; /* Remove bullets from the list */
    margin: 0; /* Reset margins */
    padding-left: 20px; /* Align the links with the header */
	font-size: 24px;
}

/* TOC link styles */
#table-of-contents a {
    color: black; /* Match link color with embedded links */
    text-decoration: underline; /* Underline links */
    background: none !important; /* Remove background color on hover */
}

/* Hover effect for TOC links */
#table-of-contents a:hover {
    background: none !important; /* Ensure no background on hover */
    color: darkgray; /* Optional: Change text color on hover */
}


html {
    scroll-behavior: smooth;
}


#toc-header:link {
	text-decoration: none;
	font-size: 20;
	font-weight: 700;
}
#toc-header a:hover {
        color: black; /* Optional: Change text color on hover */
}


.image-row {
    display: flex; /* Use flexbox to align items horizontally */
    justify-content: center; /* Center the images */
    gap: 20px; /* Add space between the images */
    margin-top: 20px; /* Add spacing above the row */
}

.image-row figure {
    text-align: center; /* Center the captions under the images */
    margin: 0; /* Remove default margins */
}

.image-row img {
    display: block; /* Ensures proper spacing */
    height: 200px; /* Set the desired height */
    width: auto; /* Let the width adjust based on the aspect ratio */
    object-fit: contain; /* Ensures the entire image fits within the height */
}